﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmTarjetaPlacasTramiteNuevo.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmTarjetaPlacasTramiteNuevo" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
 <div class="main-header" style="width:100%">
                <div class="main-titulo" style="width:87%;">
                Trámite tarjeta placas
                    </div>
               
               
            </div>

            <asp:UpdatePanel runat="server">
            <ContentTemplate>
            
            
      



            <table>
            <tr>
            <td>
            
                <dx:ASPxButton ID="btnGrabar" runat="server" Text="Grabar" 
                    AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" onclick="btnGrabar_Click">
                    <Image Url="~/Images/save_16.gif">
                    </Image>
                </dx:ASPxButton>
            
            
            </td>
            <td>
                <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" 
                    AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" onclick="btnSalir_Click">
                    <Image Url="~/Images/logout.png">
                    </Image>
                </dx:ASPxButton>
            
            
            </td>
            
            </tr>
            
            </table>

               <div class="content-form">
               
               
               
               
               
               
                   <dx:ASPxRoundPanel ID="RPTramiteNuevo" runat="server" 
                       CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                       CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                       GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                       SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                       Width="100%">
                       <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                           PaddingTop="10px" />
                       <HeaderStyle>
                       <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                           PaddingTop="3px" />
                       </HeaderStyle>
                       <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">

<table>
<tr>
<td>

    &nbsp;</td>
<td>
    &nbsp;</td>

</tr>
<tr>
<td>
Tramitador:


</td>
<td>


    <dx:ASPxComboBox ID="cboTramitador" runat="server" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" Spacing="0" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        SelectedIndex="0" Height="30px">
        <Items>
            <dx:ListEditItem Selected="True" Text="Seleccione" />
            <dx:ListEditItem Text="MC Servicios" Value="1" />
        </Items>
        <ItemStyle Height="30px" />
        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
        </LoadingPanelImage>
        <LoadingPanelStyle ImageSpacing="5px">
        </LoadingPanelStyle>
        <DropDownButton Width="20px">
        </DropDownButton>
        <ButtonStyle Width="13px">
        </ButtonStyle>
        <Paddings PaddingLeft="5px" />
    </dx:ASPxComboBox>
</td>
<td>
    Fecha inicio trámite:

</td>
<td>
    <dx:ASPxDateEdit ID="dtFechaEntrega" runat="server" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" Spacing="0" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Height="30px">
        <CalendarProperties>
            <HeaderStyle Spacing="1px" />
        </CalendarProperties>
        <DropDownButton Width="20px">
        </DropDownButton>
        <Paddings PaddingLeft="5px" />
    </dx:ASPxDateEdit>
 </td>
 <td>
 
     <dx:ASPxButton ID="btnBuscarDocumento" runat="server" Text="Buscar documento" 
         CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
         CssPostfix="Office2010Blue" 
         SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
         AutoPostBack="False" OnClick="btnBuscarDocumento_Click">
         <ClientSideEvents Click="function(s, e) {
	PCbusquedaDocumentos.Show();
}" />
         <Image Url="~/Images/search.png">
         </Image>
     </dx:ASPxButton>
 </td>
</tr>
    <tr>
        <td>
            Observación:</td>
        <td colspan="3">
            <dx:ASPxMemo ID="txtObservacion" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Height="71px" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="100%">
            </dx:ASPxMemo>
        </td>
        <td>
            &nbsp;</td>
    </tr>
</table>
<table style="width:100%;">
<tr>
<td>
<dx:ASPxGridView ID="grdListaDocumentos" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Width="100%" 
        AutoGenerateColumns="False">
                <Columns>
                    <dx:GridViewDataTextColumn Caption="Nro.factura" ShowInCustomizationForm="True" 
                        VisibleIndex="0" FieldName="nro_factura">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Cliente" ShowInCustomizationForm="True" 
                        VisibleIndex="1" FieldName="DES_CLIENTE">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Fecha" ShowInCustomizationForm="True" 
                        VisibleIndex="2" FieldName="FEC_FACTURA">
                       

                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Modelo" ShowInCustomizationForm="True" 
                        VisibleIndex="3" FieldName="des_modelo">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Chasis" ShowInCustomizationForm="True" 
                        VisibleIndex="4" FieldName="nro_vin">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Motor" ShowInCustomizationForm="True" 
                        VisibleIndex="5" FieldName="nro_motor">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Poliza" ShowInCustomizationForm="True" 
                        VisibleIndex="6" FieldName="nro_poliza">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="id_org_vta" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="9">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="nro_posicion" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="10">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="fecha_recepcion_tarjeta" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="11">

                       

                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="nro_placa" ShowInCustomizationForm="True" 
                        Visible="False" VisibleIndex="12">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="fecha_recepcion_placa" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="13">

                    

                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Ref.embarque" FieldName="ref_embarque" 
                        ShowInCustomizationForm="True" VisibleIndex="7">


                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Nro.caja" FieldName="nro_caja" 
                        ShowInCustomizationForm="True" VisibleIndex="8">

                       

                    </dx:GridViewDataTextColumn>
                </Columns>
                <SettingsBehavior AllowSort="False" AllowDragDrop="False" AllowGroup="False" />
                <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanelOnStatusBar>
                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanel>
                </Images>
                <ImagesFilterControl>
                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanel>
                </ImagesFilterControl>
                <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue">
                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                    </Header>
                    <LoadingPanel ImageSpacing="5px">
                    </LoadingPanel>
                </Styles>
                <StylesPager>
                    <PageNumber ForeColor="#3E4846">
                    </PageNumber>
                    <Summary ForeColor="#1E395B">
                    </Summary>
                </StylesPager>
                <StylesEditors ButtonEditCellSpacing="0">
                    <ProgressBar Height="21px">
                    </ProgressBar>
                </StylesEditors>
            </dx:ASPxGridView>

    <br />
    <dx:ASPxGridView ID="gv" runat="server" AutoGenerateColumns="False" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" Width="100%">
        <Columns>
            <dx:GridViewDataTextColumn Caption="Nro.factura" FieldName="NRO_FACTURA" 
                ShowInCustomizationForm="True" VisibleIndex="0">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Cliente" FieldName="DES_CLIENTE" 
                ShowInCustomizationForm="True" VisibleIndex="1">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Fecha" FieldName="FEC_FACTURA" 
                ShowInCustomizationForm="True" VisibleIndex="2">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Modelo" FieldName="DES_MODELO" 
                ShowInCustomizationForm="True" VisibleIndex="3">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Chasis" FieldName="NRO_VIN" 
                ShowInCustomizationForm="True" VisibleIndex="4">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Motor" FieldName="NRO_MOTOR" 
                ShowInCustomizationForm="True" VisibleIndex="5">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Poliza" FieldName="NRO_POLIZA" 
                ShowInCustomizationForm="True" VisibleIndex="6">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Ref.embarque" FieldName="REF_EMBARQUE" 
                ShowInCustomizationForm="True" VisibleIndex="7">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Nro.caja" FieldName="NRO_CAJA" 
                ShowInCustomizationForm="True" VisibleIndex="8">
            </dx:GridViewDataTextColumn>
        </Columns>
        <SettingsBehavior AllowDragDrop="False" AllowGroup="False" AllowSort="False" />
        <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanelOnStatusBar>
            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanel>
        </Images>
        <ImagesFilterControl>
            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanel>
        </ImagesFilterControl>
        <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
            CssPostfix="Office2010Blue">
            <Header ImageSpacing="5px" SortingImageSpacing="5px">
            </Header>
            <LoadingPanel ImageSpacing="5px">
            </LoadingPanel>
        </Styles>
        <StylesPager>
            <PageNumber ForeColor="#3E4846">
            </PageNumber>
            <Summary ForeColor="#1E395B">
            </Summary>
        </StylesPager>
        <StylesEditors ButtonEditCellSpacing="0">
            <ProgressBar Height="21px">
            </ProgressBar>
        </StylesEditors>
    </dx:ASPxGridView>

</td>

</tr>

</table>



                           </dx:PanelContent>
</PanelCollection>
                   </dx:ASPxRoundPanel>
               
               
               
                   <dx:ASPxPopupControl ID="PCbusquedaDocumentos" runat="server" 
                       CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                       HeaderText="Busqueda de documentos" 
                       SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="900px" 
                       ClientInstanceName="PCbusquedaDocumentos" AllowDragging="True" 
                       Modal="True" PopupHorizontalAlign="WindowCenter" 
                       PopupVerticalAlign="WindowCenter">
                       <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                       </LoadingPanelImage>
                       <CloseButtonStyle>
                           <Paddings Padding="0px" />
                       </CloseButtonStyle>
                       <ContentStyle>
                           <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                       </ContentStyle>
                       <HeaderStyle>
                       <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                           PaddingTop="4px" />
                       </HeaderStyle>
                       <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">




    <dx:ASPxRoundPanel ID="RPBusquedaDocumento" runat="server" Width="900px" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
        GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
        <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
            PaddingTop="10px" />
        <HeaderStyle>
        <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
            PaddingTop="3px" />
        </HeaderStyle>
        <PanelCollection>
            <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
      <table>
      <tr>
      <td>
      Oficina venta:
      
      </td>
      
      <td>
      
          <dx:ASPxComboBox ID="cboOficinaVenta" runat="server" 
              CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
              CssPostfix="Office2010Blue" Spacing="0" 
              SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
              Height="30px">
              <ItemStyle Height="30px" />
              <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
              </LoadingPanelImage>
              <LoadingPanelStyle ImageSpacing="5px">
              </LoadingPanelStyle>
              <DropDownButton Width="20px">
              </DropDownButton>
              <Paddings PaddingLeft="5px" />
          </dx:ASPxComboBox>
      
      
      </td>
      <td>
      Año:
      </td>
      <td>
          <dx:ASPxComboBox ID="cboAnio" runat="server" 
              CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
              CssPostfix="Office2010Blue" SelectedIndex="3" Spacing="0" 
              SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
              Height="30px">
              <Items>
                  <dx:ListEditItem Text="2010" Value="2010" />
                  <dx:ListEditItem Text="2011" Value="2011" />
                  <dx:ListEditItem Text="2012" Value="2012" />
                  <dx:ListEditItem Selected="True" Text="2013" Value="2013" />
                  <dx:ListEditItem Text="2014" Value="2014" />
              </Items>
              <ItemStyle Height="30px" />
              <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
              </LoadingPanelImage>
              <LoadingPanelStyle ImageSpacing="5px">
              </LoadingPanelStyle>
              <DropDownButton Width="20px">
              </DropDownButton>
              <ButtonStyle Width="13px">
              </ButtonStyle>
              <Paddings PaddingLeft="5px" />
          </dx:ASPxComboBox>
      
      </td>
      <td>
      Mes:
      
      </td>
      <td>
          <dx:ASPxComboBox ID="cboMes" runat="server" 
              CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
              CssPostfix="Office2010Blue" Spacing="0" 
              SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
              Height="30px">
              <Items>
                  <dx:ListEditItem Text="Enero" Value="1" />
                  <dx:ListEditItem Text="Febrero" Value="2" />
                  <dx:ListEditItem Text="Marzo" Value="3" />
                  <dx:ListEditItem Text="Abril" Value="4" />
                  <dx:ListEditItem Text="Mayo" Value="5" />
                  <dx:ListEditItem Text="Junio" Value="6" />
                  <dx:ListEditItem Text="Julio" Value="7" />
                  <dx:ListEditItem Text="Agosto" Value="8" />
                  <dx:ListEditItem Text="Septiembre" Value="9" />
                  <dx:ListEditItem Text="Octubre" Value="10" />
                  <dx:ListEditItem Text="Noviembre" Value="11" />
                  <dx:ListEditItem Text="Diciembre" Value="12" />
              </Items>
              <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
              </LoadingPanelImage>
              <LoadingPanelStyle ImageSpacing="5px">
              </LoadingPanelStyle>
              <DropDownButton Width="20px">
              </DropDownButton>
              <ButtonStyle Width="13px">
              </ButtonStyle>
              <Paddings PaddingLeft="5px" />
          </dx:ASPxComboBox>
      
      </td>
      <td>
          <dx:ASPxButton ID="btnFiltrar" runat="server" Text="Consultar" 
              CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
              CssPostfix="Office2010Blue" 
              SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
              Width="100px" AutoPostBack="False" OnClick="btnFiltrar_Click">
              <Image Url="~/Images/search.png">
              </Image>
          </dx:ASPxButton>
      
      </td>
      </tr>
      </table>
      <table style="width:100%;">
      <tr>
      <td>
      
      
         <dx:ASPxGridView ID="grdListaFiltroOficinaVenta" runat="server" Width="100%" 
              CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
              CssPostfix="Office2010Blue" AutoGenerateColumns="False" 
              KeyFieldName="NRO_FACTURA" 
              OnAfterPerformCallback="grdListaFiltroOficinaVenta_AfterPerformCallback" 
              OnPageIndexChanged="grdListaFiltroOficinaVenta_PageIndexChanged">
             <Columns>
                 <dx:GridViewCommandColumn Caption="Selección" ShowInCustomizationForm="True" 
                     ShowSelectCheckbox="True" VisibleIndex="0">
                 </dx:GridViewCommandColumn>
<dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption="Cliente" VisibleIndex="1" 
                     FieldName="DES_CLIENTE">
                     </dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption="Fec.factura" VisibleIndex="2" 
                     FieldName="FEC_FACTURA">

                     <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                                </PropertiesTextEdit>

                     </dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption="Modelo" VisibleIndex="3" 
                     FieldName="DES_MODELO">
                     </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn Caption="Fec.inicio trámite" ShowInCustomizationForm="True" 
                     VisibleIndex="4" Visible="False">

                     <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                                </PropertiesTextEdit>

                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn ShowInCustomizationForm="True" 
                     VisibleIndex="11" FieldName="ID_ORG_VTA" Visible="False">
                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn ShowInCustomizationForm="True" 
                     VisibleIndex="12" FieldName="NRO_FACTURA" Visible="False">
                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn ShowInCustomizationForm="True" 
                     VisibleIndex="13" FieldName="NRO_POSICION" Visible="False">
                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn FieldName="NRO_VIN" ShowInCustomizationForm="True" 
                     Visible="False" VisibleIndex="10">
                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn FieldName="NRO_POLIZA" 
                     ShowInCustomizationForm="True" Visible="False" VisibleIndex="9">
                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn Caption="Fec.poliza" FieldName="FEC_POLIZA" 
                     ShowInCustomizationForm="True" VisibleIndex="5" Visible="False">

                     <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                                </PropertiesTextEdit>

                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn FieldName="REF_EMBARQUE" 
                     ShowInCustomizationForm="True" VisibleIndex="8" Caption="Nro.embarque">
                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn FieldName="NRO_CAJA" ShowInCustomizationForm="True" 
                     VisibleIndex="7" Caption="Nro.caja">
                 </dx:GridViewDataTextColumn>
                 <dx:GridViewDataTextColumn FieldName="NRO_MOTOR" ShowInCustomizationForm="True" 
                     Visible="False" VisibleIndex="6">
                 </dx:GridViewDataTextColumn>
             </Columns>
             <SettingsBehavior AllowDragDrop="False" AllowGroup="False" AllowSort="False" />
             <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                 <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                 </LoadingPanelOnStatusBar>
                 <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                 </LoadingPanel>
             </Images>
             <ImagesFilterControl>
                 <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                 </LoadingPanel>
             </ImagesFilterControl>
             <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                 CssPostfix="Office2010Blue">
                 <Header ImageSpacing="5px" SortingImageSpacing="5px">
                 </Header>
                 <LoadingPanel ImageSpacing="5px">
                 </LoadingPanel>
             </Styles>
             <StylesPager>
                 <PageNumber ForeColor="#3E4846">
                 </PageNumber>
                 <Summary ForeColor="#1E395B">
                 </Summary>
             </StylesPager>
             <StylesEditors ButtonEditCellSpacing="0">
                 <ProgressBar Height="21px">
                 </ProgressBar>
             </StylesEditors>
          </dx:ASPxGridView>
       
      
      
      
      </td>
      
      </tr>
    
      </table>
      <table>
        <tr>
        <td>
        
        
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
      <td>
          <dx:ASPxButton ID="btnAgregar" runat="server" Text="Agregar" 
              AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
              CssPostfix="Office2010Blue" OnClick="btnAgregar_Click" 
              SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="100px">
          </dx:ASPxButton>
      
      </td>
      <td>
      
          <dx:ASPxButton ID="btnCancelar" runat="server" Text="Cancelar" 
              AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
              CssPostfix="Office2010Blue" 
              SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="100px">
              <ClientSideEvents Click="function(s, e) {
	PCbusquedaDocumentos.Hide();
}" />
          </dx:ASPxButton>
      </td>
      
      </tr>
      
      </table>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxRoundPanel>





                           </dx:PopupControlContentControl>
</ContentCollection>
                   </dx:ASPxPopupControl>
               
               












               <dx:ASPxPopupControl ID="popupmsj" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupmsj" CloseAction="None" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                   Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
<Paddings PaddingLeft="7px"></Paddings>
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="Panelpopup" runat="server">
                        <table align="center">
                        <tr>
                        <td colspan="2">
                        
                            <dx:ASPxLabel ID="lblmsj" runat="server" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue">
                            </dx:ASPxLabel>
                        
                        
                        
                        </td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        
                        </table>
                        <table align="center">
                        <tr>
                        <td align="center" style="width: 215px">
                        
                            <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
<ClientSideEvents Click="function(s, e) {
	popupmsj.Hide();
}"/>
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        </table>
                            


                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>







               </div>



                     </ContentTemplate>
            </asp:UpdatePanel>

</asp:Content>
